package com.yudedu.hospital.entity;

public class Department {
	private int id;
	private String departments;
	public Department() {
		super();
	}
	public Department(int id, String departments) {
		super();
		this.id = id;
		this.departments = departments;
	}
	public String getDepartments() {
		return departments;
	}
	public int getId() {
		return id;
	}
	public void setDepartments(String departments) {
		this.departments = departments;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "Department [id=" + id + ", departments=" + departments + "]";
	}

}
